//#include <QtGui/QApplication>
#include <QtGui>
#include "mainwindow.h"
#include <QTextCodec>
#include "systemfile.h"
//#include "login.h"
systemFile *sysInfo;
QString ip_num;
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QApplication::addLibraryPath("./plugins");
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("GB2312"));
    QTextCodec::setCodecForTr(QTextCodec::codecForName("GB2312"));
    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("GB2312"));
   // Login w;
    sysInfo = new systemFile();
    MainWindow w;
    w.show();

    return a.exec();
}
